package recycle.pojo;

import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

/**
* 描述：我的钱包表实体类
* @author 孙冉
* @date 2019/07/22
*/
public class Mywallet implements Serializable {

   /**钱包ID*/
    private Integer walletId;
   /**用户ID*/
    private Integer customerId;
   /**余额*/
	private Object customerBalance;
   /**最后修改时间*/
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date modifiedTime;
   /**其他*/
    private String other1;
   /**其他*/
    private String other2;

    public Mywallet(){}
    
    public Mywallet(Integer walletId,Integer customerId,Object customerBalance,Date modifiedTime,String other1,String other2){
        this.walletId = walletId;
        this.customerId = customerId;
        this.customerBalance = customerBalance;
        this.modifiedTime = modifiedTime;
        this.other1 = other1;
        this.other2 = other2;
    }

   /**获取钱包ID属性的值*/
    public Integer getWalletId() {
        return this.walletId;
    }
   /**设置钱包ID属性的值*/
    public void setWalletId(Integer walletId) {
        this.walletId = walletId;
    }
   /**获取用户ID属性的值*/
    public Integer getCustomerId() {
        return this.customerId;
    }
   /**设置用户ID属性的值*/
    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }
   /**获取余额属性的值*/
	public Object getCustomerBalance() {
        return this.customerBalance;
    }
   /**设置余额属性的值*/
    public void setCustomerBalance(Object customerBalance) {
        this.customerBalance = customerBalance;
    }
   /**获取最后修改时间属性的值*/
    public Date getModifiedTime() {
        return this.modifiedTime;
    }
   /**设置最后修改时间属性的值*/
    public void setModifiedTime(Date modifiedTime) {
        this.modifiedTime = modifiedTime;
    }
   /**获取其他属性的值*/
    public String getOther1() {
        return this.other1;
    }
   /**设置其他属性的值*/
    public void setOther1(String other1) {
        this.other1 = other1;
    }
   /**获取其他属性的值*/
    public String getOther2() {
        return this.other2;
    }
   /**设置其他属性的值*/
    public void setOther2(String other2) {
        this.other2 = other2;
    }
}
